• edited by
8,578 views
35 35 votes

Match the following:$$\begin{array}{|ll|ll|}\hline \text{(P)} & \text{Lexical analysis} & \text{(i)} & \text{Leftmost derivation} \\\hline  \text{(Q)} & \text{Top down parsing} & \text{(ii)}& \text{Type checking} \\\hline   \text{(R)}& \text{Semantic analysis} & \text{(iii)}  & \text{Regular expressions} \\\hline  \text{(S)} & \text{Runtime environment} &\text{(iv)}  & \text{Activation records}  \\\hline \end{array}$$

  1. $\text{P $\leftrightarrow$ i, Q $\leftrightarrow$ ii, R $\leftrightarrow$ iv, S $\leftrightarrow$ iii}$
  2. $\text{P $\leftrightarrow$ iii, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iv}$
  3. $\text{P $\leftrightarrow$ ii, Q $\leftrightarrow$ iii, R $\leftrightarrow$ i, S $\leftrightarrow$ iv}$
  4. $\text{P $\leftrightarrow$ iv, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iii}$

1 Answer

Best answer
53 53 votes

Correct Option: B

  • Lexical Analysis phase uses regular expressions.
  • LMD is involved in top down parsing.
  • Type checking is done in semantic analysis phase.
  • Activation records are related to Run Time Environments.
• edited by
Answer:
Position:
Show:

Related questions

24 24 votes
6 6 answers
12.2k
12.2k views
Arjun asked Feb 16, 2024
12,229 views
​​​Consider the following two sets:$$\begin{array}{|ll|ll|}\hline & \textbf{Set X} & & \textbf{Set Y} \\\hline \text{ P.} & \text{Lexical Analyzer } & \text{1.}& \text...
51 51 votes
5 answers 5 answers
16.6k
16.6k views
Madhav asked Feb 14, 2017
16,556 views
Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it:$$\begin{array}{|l|l|}\hline \text{P. Syntax t...
48 48 votes
3 answers 3 answers
13.6k
13.6k views
Kathleen asked Sep 22, 2014
13,583 views
Match all items in Group 1 with the correct options from those given in Group 2.$$\begin{array}{|ll|ll|}\hline \rlap{\textbf{Group 1}} & & \rlap{\textbf{Group 2}} \\\hli...
48 48 votes
5 answers 5 answers
12.1k
12.1k views
go_editor asked Feb 12, 2015
12,148 views
Match the following:$$\begin{array}{|ll|ll|}\hline \text{P.} & \text{Lexical analysis} & \text{1.} & \text{Graph coloring} \\\hline \text{Q.} & \text{Parsing} & \text{2....